import Util from '@plugins/util'

const PRO_ENV = Util.env.get()

const PRO_PARAMS = {
    development: {
        // 微信无开发环境，需发布后调试
        api: {
            wx: 'https://healthapi.mirror-networks.com/api/hmsd/hm/',
            base: 'https://healthapi.mirror-networks.com/api/hmsd/hm/',
            upload:'https://healthapi.mirror-networks.com/luban/tourist/'
        },
        tracker: {
            appid: 212201,
            statistics_app_id: 100034
        },
        h5: {
            goodsDetailsL: 'https://webtest.miaohealthapp.com/test/client/1/src/html/mall/goodsDetailsL.html?' // 商品详情 miaoh5/1
        }
    },
    test: {
        api: {
            wx: 'https://healthapi.mirror-networks.com/api/hmsd/hm/',
            base: 'https://healthapi.mirror-networks.com/api/hmsd/hm/',
            upload:'https://healthapi.mirror-networks.com/luban/tourist/'
        },
        tracker: {
            appid: 212201,
            statistics_app_id: 100034
        },
        h5: {
            goodsDetailsL: 'https://webtest.miaohealthapp.com/test/client/1/src/html/mall/goodsDetailsL.html?'
        }
    },
    production: {
        api: {
            wx: 'https://healthapi.mirror-networks.com/api/hmsd/hm/',
            base: 'https://healthapi.mirror-networks.com/api/hmsd/hm/',
            upload:'https://healthapi.mirror-networks.com/luban/tourist/'
        },
        tracker: {
            appid: 212201,
            statistics_app_id: 100011
        },
        h5: {
            goodsDetailsL: 'https://web.miaohealthapp.com/online/client/1/src/html/mall/goodsDetailsL.html?'
        }
    }
}

export default PRO_PARAMS[PRO_ENV]